'''
#set 最重要的两个功能 去重 和 关系测试
import time
time_format="%Y-%m-%d %X"
#time_format="%x %X"
time_cur=time.strftime(time_format)
print(time_cur)

a = set([1,2,3,4,5])
b = set ([4,5,6,7,8])

print(a.intersection(b))
print(a.union(b))

def logger(log_txt,log_time=time_cur):
    print("%s===>%s" %( log_time,log_txt))

##def logger(log_txt):
##    print("===>%s" %( log_txt))
##
##logger("nihao")
logger("nihao")


def add(*args):

    
    sum1=0
    for i in args:
        sum1+=i
    return sum1,1,3
t=add(1,2)
print(type(t))
'''

#count是全局变量，不可以修改，需要声明下global才可以修改
count =10
def tt():
    global count
    #print(count)
    count=11
    print(count)
tt()
